package cn.abcsys.cloud.devops.runtime.entity;

import java.sql.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.DateSerializer;

public class Registry {
	/*
	 * 主键
	 */
	private Integer registryId;
	/*
	 * 仓库名称
	 */
	private String registryName;
	/*
	 * 仓库端口
	 */
	private String registryPort;
	/*
	 * 仓库状态(0不正常，1正常)
	 */
	private Byte registryStatus;
	/*
	 * 仓库 主机
	 */
	private String hostId;
	/*
	 * 描述信息
	 */
	private String registryDesc;
	/*
	 * 创建日期
	 */
	@JsonSerialize(using = DateSerializer.class)
	private Date createTime;
	/*
	 * 创建人
	 */
	private Integer userId;
	/*
	 * 虚拟IP
	 */
	private String serviceIp;
	/*
	 * 是否是高可用
	 */
	private Byte haEnable;
	private Integer envId;
	public Integer getRegistryId() {
		return registryId;
	}
	public void setRegistryId(Integer registryId) {
		this.registryId = registryId;
	}
	public String getRegistryName() {
		return registryName;
	}
	public void setRegistryName(String registryName) {
		this.registryName = registryName;
	}
	public String getRegistryPort() {
		return registryPort;
	}
	public void setRegistryPort(String registryPort) {
		this.registryPort = registryPort;
	}
	public Byte getRegistryStatus() {
		return registryStatus;
	}
	public void setRegistryStatus(Byte registryStatus) {
		this.registryStatus = registryStatus;
	}
	public String getHostId() {
		return hostId;
	}
	public void setHostId(String hostId) {
		this.hostId = hostId;
	}
	public String getRegistryDesc() {
		return registryDesc;
	}
	public void setRegistryDesc(String registryDesc) {
		this.registryDesc = registryDesc;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getServiceIp() {
		return serviceIp;
	}
	public void setServiceIp(String serviceIp) {
		this.serviceIp = serviceIp;
	}
	public Byte getHaEnable() {
		return haEnable;
	}
	public void setHaEnable(Byte haEnable) {
		this.haEnable = haEnable;
	}
	public Integer getEnvId() {
		return envId;
	}
	public void setEnvId(Integer envId) {
		this.envId = envId;
	}
}
